// fivechessDlg.h : header file
//

#if !defined(AFX_FIVECHESSDLG_H__DC06B666_4AFE_4C7D_BECF_2938828DE318__INCLUDED_)
#define AFX_FIVECHESSDLG_H__DC06B666_4AFE_4C7D_BECF_2938828DE318__INCLUDED_

#include "ClientSocket.h"	// Added by ClassView
#include "SeverScoket.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CFivechessDlg dialog
#include "chessboard.h"

class CFivechessDlg : public CDialog
{
// Construction
public:
	CString			m_ip;
	BYTE			m_bIP[4];
	void TomyAccept();
	CClientSocket m_ClientSocket;
	CSeverScoket m_SeverScoket;

	
	UINT m_port;
	CFivechessDlg(CWnd* pParent = NULL);	// standard constructoree
	chessboard chess;

// Dialog Data
	//{{AFX_DATA(CFivechessDlg)
	enum { IDD = IDD_FIVECHESS_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFivechessDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFivechessDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAboutbox();
	afx_msg void OnMenuClient();
	afx_msg void OnMenuSever();
	afx_msg void OnSetAuto();
	afx_msg void OnNoAuto();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FIVECHESSDLG_H__DC06B666_4AFE_4C7D_BECF_2938828DE318__INCLUDED_)
